<script setup>
import { RouterView } from "vue-router";
import { ref } from "vue";

const activeIndex = ref("1");
const handleSelect = (key) => {};
</script>

<template>
  <div>
    <el-menu
      :default-active="activeIndex"
      class="el-menu-demo"
      mode="horizontal"
      @select="handleSelect"
      :router="true"
    >
      <el-menu-item index="/gjm">古建明</el-menu-item>
      <el-menu-item index="/hua">华超伟</el-menu-item>
      <el-menu-item index="/hjf">黄江锋</el-menu-item>
      <el-menu-item index="4">Orders</el-menu-item>
    </el-menu>
  </div>
  <div>
    <RouterView />
  </div>
</template>

<style scoped>
</style>
